package Mediator_Pattern.Software;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Client {
    public static void main(String[] args) {
        Windows_Mediaor windows_mediaor;
        windows_mediaor=new Windows_Mediaor();

        ListPane listPane=new ListPane();
        GraphicPane graphicPane=new GraphicPane();
        TextPane textPane=new TextPane();

        listPane.setWindows_mediaor(windows_mediaor);
        graphicPane.setWindows_mediaor(windows_mediaor);
        textPane.setWindows_mediaor(windows_mediaor);

        windows_mediaor.textPane=textPane;
        windows_mediaor.graphicPane=graphicPane;
        windows_mediaor.listPane=listPane;

        textPane.play();
        graphicPane.play();
        listPane.play();
    }
}
